import request from '@/libs/request';

export default {
	//处理异常(维修)
	abnormalHandle: (params = {}, options = {}) => {
		return request.post('/abnormal/handle', params, options)
	},
	//获取异常数据
	listAbnormal: (params = {}, options = {}) => {
		return request.get('/abnormal/listAbnormal', params, options)
	},
	//获取异常资源数据
	listAbnormalResource: (params = {}, options = {}) => {
		return request.get('/abnormal/listAbnormalResource', params, options)
	},
	//异常上报
	abnormalReport: (params = {}, options = {}) => {
		return request.post('/abnormal/report', params, options)
	}
}
